//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LivePaperImportProductDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long productId;
    private Integer type;
    private String filepath;
    private String relativepath;
    private Integer width;
    private Integer height;
    private Integer answer;
    private Integer first;
    private String content;
    private Integer section;
    private Long importId;

    public LivePaperImportProductDetail() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getProductId() {
        return this.productId;
    }

    public Integer getType() {
        return this.type;
    }

    public String getFilepath() {
        return this.filepath;
    }

    public String getRelativepath() {
        return this.relativepath;
    }

    public Integer getWidth() {
        return this.width;
    }

    public Integer getHeight() {
        return this.height;
    }

    public Integer getAnswer() {
        return this.answer;
    }

    public Integer getFirst() {
        return this.first;
    }

    public String getContent() {
        return this.content;
    }

    public Integer getSection() {
        return this.section;
    }

    public Long getImportId() {
        return this.importId;
    }

    public LivePaperImportProductDetail setId(final Long id) {
        this.id = id;
        return this;
    }

    public LivePaperImportProductDetail setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LivePaperImportProductDetail setType(final Integer type) {
        this.type = type;
        return this;
    }

    public LivePaperImportProductDetail setFilepath(final String filepath) {
        this.filepath = filepath;
        return this;
    }

    public LivePaperImportProductDetail setRelativepath(final String relativepath) {
        this.relativepath = relativepath;
        return this;
    }

    public LivePaperImportProductDetail setWidth(final Integer width) {
        this.width = width;
        return this;
    }

    public LivePaperImportProductDetail setHeight(final Integer height) {
        this.height = height;
        return this;
    }

    public LivePaperImportProductDetail setAnswer(final Integer answer) {
        this.answer = answer;
        return this;
    }

    public LivePaperImportProductDetail setFirst(final Integer first) {
        this.first = first;
        return this;
    }

    public LivePaperImportProductDetail setContent(final String content) {
        this.content = content;
        return this;
    }

    public LivePaperImportProductDetail setSection(final Integer section) {
        this.section = section;
        return this;
    }

    public LivePaperImportProductDetail setImportId(final Long importId) {
        this.importId = importId;
        return this;
    }

    public String toString() {
        return "LivePaperImportProductDetail(id=" + this.getId() + ", productId=" + this.getProductId() + ", type=" + this.getType() + ", filepath=" + this.getFilepath() + ", relativepath=" + this.getRelativepath() + ", width=" + this.getWidth() + ", height=" + this.getHeight() + ", answer=" + this.getAnswer() + ", first=" + this.getFirst() + ", content=" + this.getContent() + ", section=" + this.getSection() + ", importId=" + this.getImportId() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LivePaperImportProductDetail)) {
            return false;
        } else {
            LivePaperImportProductDetail other = (LivePaperImportProductDetail)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label155: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label155;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label155;
                    }

                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                Object this$type = this.getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }

                label134: {
                    Object this$filepath = this.getFilepath();
                    Object other$filepath = other.getFilepath();
                    if (this$filepath == null) {
                        if (other$filepath == null) {
                            break label134;
                        }
                    } else if (this$filepath.equals(other$filepath)) {
                        break label134;
                    }

                    return false;
                }

                label127: {
                    Object this$relativepath = this.getRelativepath();
                    Object other$relativepath = other.getRelativepath();
                    if (this$relativepath == null) {
                        if (other$relativepath == null) {
                            break label127;
                        }
                    } else if (this$relativepath.equals(other$relativepath)) {
                        break label127;
                    }

                    return false;
                }

                label120: {
                    Object this$width = this.getWidth();
                    Object other$width = other.getWidth();
                    if (this$width == null) {
                        if (other$width == null) {
                            break label120;
                        }
                    } else if (this$width.equals(other$width)) {
                        break label120;
                    }

                    return false;
                }

                Object this$height = this.getHeight();
                Object other$height = other.getHeight();
                if (this$height == null) {
                    if (other$height != null) {
                        return false;
                    }
                } else if (!this$height.equals(other$height)) {
                    return false;
                }

                label106: {
                    Object this$answer = this.getAnswer();
                    Object other$answer = other.getAnswer();
                    if (this$answer == null) {
                        if (other$answer == null) {
                            break label106;
                        }
                    } else if (this$answer.equals(other$answer)) {
                        break label106;
                    }

                    return false;
                }

                Object this$first = this.getFirst();
                Object other$first = other.getFirst();
                if (this$first == null) {
                    if (other$first != null) {
                        return false;
                    }
                } else if (!this$first.equals(other$first)) {
                    return false;
                }

                label92: {
                    Object this$content = this.getContent();
                    Object other$content = other.getContent();
                    if (this$content == null) {
                        if (other$content == null) {
                            break label92;
                        }
                    } else if (this$content.equals(other$content)) {
                        break label92;
                    }

                    return false;
                }

                Object this$section = this.getSection();
                Object other$section = other.getSection();
                if (this$section == null) {
                    if (other$section != null) {
                        return false;
                    }
                } else if (!this$section.equals(other$section)) {
                    return false;
                }

                Object this$importId = this.getImportId();
                Object other$importId = other.getImportId();
                if (this$importId == null) {
                    if (other$importId != null) {
                        return false;
                    }
                } else if (!this$importId.equals(other$importId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LivePaperImportProductDetail;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $type = this.getType();
        result1 = result * 59 + ($type == null ? 43 : $type.hashCode());
        Object $filepath = this.getFilepath();
        result1 = result * 59 + ($filepath == null ? 43 : $filepath.hashCode());
        Object $relativepath = this.getRelativepath();
        result1 = result * 59 + ($relativepath == null ? 43 : $relativepath.hashCode());
        Object $width = this.getWidth();
        result1 = result * 59 + ($width == null ? 43 : $width.hashCode());
        Object $height = this.getHeight();
        result1 = result * 59 + ($height == null ? 43 : $height.hashCode());
        Object $answer = this.getAnswer();
        result1 = result * 59 + ($answer == null ? 43 : $answer.hashCode());
        Object $first = this.getFirst();
        result1 = result * 59 + ($first == null ? 43 : $first.hashCode());
        Object $content = this.getContent();
        result1 = result * 59 + ($content == null ? 43 : $content.hashCode());
        Object $section = this.getSection();
        result1 = result * 59 + ($section == null ? 43 : $section.hashCode());
        Object $importId = this.getImportId();
        result1 = result * 59 + ($importId == null ? 43 : $importId.hashCode());
        return result1;
    }
}
